
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
#include <iostream>

void test(void)
{
    int width, height, nrChannels;
    unsigned char* data = stbi_load("res/test.png", &width, &height, &nrChannels, 0);
    std::cout << nrChannels << std::endl;
    for(int i = 0;i < 100; i++)
    {
        std::cout << std::hex << static_cast<unsigned short>(data[i]) << " ";
    }
    std::cout <<std::endl;
}


